package com.douqu.game.core.config;

import com.douqu.game.core.entity.GameObject;

/**
 * @author wangzhenfei
 *         2017-10-26 10:28
 *         随机用户名
 */
public class PlayerNameConfig extends GameObject {
    public String name1;
    public String name2;
    public String name3;

    @Override
    public boolean setVariable(String key, String value)
    {
        if("name1".equals(key))
        {
            name1 = value;
            return true;
        }
        else if("name2".equals(key))
        {
            name2 = value;
            return true;
        }
        else if("name3".equals(key))
        {
            name3 = value;
            return true;
        }
        else
            return super.setVariable(key, value);
    }
}
